// vite.config.js
import { defineConfig, loadEnv } from "file:///E:/A%E5%90%AF%E5%91%88%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/%E5%85%AC%E5%8F%B8%E7%9A%84%E4%BB%A3%E7%A0%81/git%E4%BB%93%E5%BA%93_%E9%9D%92%E6%B5%A6(OL)/vue-ol/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/A%E5%90%AF%E5%91%88%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/%E5%85%AC%E5%8F%B8%E7%9A%84%E4%BB%A3%E7%A0%81/git%E4%BB%93%E5%BA%93_%E9%9D%92%E6%B5%A6(OL)/vue-ol/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import AutoImport from "file:///E:/A%E5%90%AF%E5%91%88%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/%E5%85%AC%E5%8F%B8%E7%9A%84%E4%BB%A3%E7%A0%81/git%E4%BB%93%E5%BA%93_%E9%9D%92%E6%B5%A6(OL)/vue-ol/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/A%E5%90%AF%E5%91%88%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/%E5%85%AC%E5%8F%B8%E7%9A%84%E4%BB%A3%E7%A0%81/git%E4%BB%93%E5%BA%93_%E9%9D%92%E6%B5%A6(OL)/vue-ol/node_modules/unplugin-vue-components/dist/vite.mjs";
import { ElementPlusResolver } from "file:///E:/A%E5%90%AF%E5%91%88%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/%E5%85%AC%E5%8F%B8%E7%9A%84%E4%BB%A3%E7%A0%81/git%E4%BB%93%E5%BA%93_%E9%9D%92%E6%B5%A6(OL)/vue-ol/node_modules/unplugin-vue-components/dist/resolvers.mjs";
import { createHtmlPlugin } from "file:///E:/A%E5%90%AF%E5%91%88%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF/%E5%85%AC%E5%8F%B8%E7%9A%84%E4%BB%A3%E7%A0%81/git%E4%BB%93%E5%BA%93_%E9%9D%92%E6%B5%A6(OL)/vue-ol/node_modules/vite-plugin-html/dist/index.mjs";
var __vite_injected_original_dirname = "E:\\A\u542F\u5448\u65B0\u624B\u4E0A\u8DEF\\\u516C\u53F8\u7684\u4EE3\u7801\\git\u4ED3\u5E93_\u9752\u6D66(OL)\\vue-ol";
var getViteEnv = (mode, target) => {
  return loadEnv(mode, process.cwd())[target];
};
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    }),
    createHtmlPlugin({
      inject: {
        data: {
          title: getViteEnv(process.env, "VITE_APP_TITLE")
        }
      }
    })
  ],
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "src")
    }
  },
  server: {
    port: 3333,
    proxy: {
      "/api": {
        target: "http://58.210.32.10:9022/bsApi",
        ws: true,
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/api/, "")
      },
      "/mapApi": {
        target: "http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/ZT_PCGW_YS/MapServer/3/query",
        ws: true,
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/mapApi/, "")
      }
    }
  },
  define: {
    "process.env": {}
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxBXHU1NDJGXHU1NDQ4XHU2NUIwXHU2MjRCXHU0RTBBXHU4REVGXFxcXFx1NTE2Q1x1NTNGOFx1NzY4NFx1NEVFM1x1NzgwMVxcXFxnaXRcdTRFRDNcdTVFOTNfXHU5NzUyXHU2RDY2KE9MKVxcXFx2dWUtb2xcIjtjb25zdCBfX3ZpdG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